package com.test.profile.pojo;

import java.io.Serializable;

/**
 * 对应数据库的用户表
 */
public class User implements Serializable {


    private int uid;
    //对应用户uid
    private String username;
    //对应的是数据库的uname字段

     private String password;
    //密码
    private String status;
    //用户的激活状态 0 未激活 1 激活






    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }


    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }



    @Override
    public String toString() {
        return "User{" +
                "id=" + uid +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +

                ", status='" + status + '\'' +

                '}';
    }
    public int getUid() {
        return uid;
    }
    public void setUid(int uid) {
        this.uid = uid;
    }
}
